﻿<UserControl x:Class="Demos.Demo0000"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Height="300" Width="400">

    <Grid x:Name="LayoutRoot">
        <StackPanel Margin="5,0">
            <TextBlock Text="打开专题栏" FontWeight="Bold"/>
            <StackPanel Margin="10,0">
                <TextBlock Text="Sample"/>
                <Button Content="执行" Click="OpenTopic" Margin="0,2"/>
                <TextBlock Text="Code"/>
                <TextBox Text="Q.ToolbarManager.ShowToolbar();" />
            </StackPanel>

            <TextBlock Text="关闭专题栏" FontWeight="Bold"/>
            <StackPanel Margin="10,0">
                <TextBlock Text="Sample"/>
                <Button Content="执行" Click="HideTopic" Margin="0,2"/>
                <TextBlock Text="Code"/>
                <TextBox Text="Q.ToolbarManager.HideToolbar();" />
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
